﻿using System;
namespace Bit.Art.Core.Models
{
    /// <summary>
    /// 授信第三方批量更新币种余额的权限
    /// </summary>
    public class UpdateBalancePermission
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 第三方在sso系统中的appid
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 第三方系统在sso系统的主键
        /// </summary>
        /// <value>The third party identifier.</value>
        public int ThirdPartyId { get; set; }

        /// <summary>
        /// 数字币权限
        /// </summary>
        public string Coin { get; set; }

        /// <summary>
        /// 是否有权限更新<see cref="Coin"></see>的余额
        /// </summary>
        /// <value><c>true</c> if permitted; otherwise, <c>false</c>.</value>
        public bool Permitted { get; set; } = true;
    }
}
